package cn.itcast.wanxinp2p.consumer.service;

import cn.itcast.wanxinp2p.consumer.entity.dto.ConsumerRegisterDTO;

public interface ConsumerService  {
    /**
    * 检测用户是否存在
    * @param mobile
    * @return
    */
    Integer checkMobile(String mobile);
    /**
    * 用户注册
    * @param consumerRegisterDTO
    * @return
    */
    void register(ConsumerRegisterDTO consumerRegisterDTO);
}